using System;

namespace Weather.com.Client.WeatherConditions.Common
{
    /// <summary>
    /// Repesents metric system used by Weather.com service
    /// </summary>
    public class UnitsSystem
    {
        private readonly string metric;

        /// <summary>
        /// European metric system
        /// </summary>
        public static UnitsSystem Metric = new UnitsSystem("m");

        /// <summary>
        /// US metric system
        /// </summary>
        public static UnitsSystem Standard = new UnitsSystem("s");

        private UnitsSystem(string metric)
        {
            this.metric = metric;
        }

        /// <summary>
        /// Unit system symbol
        /// </summary>
        public string InternalUnitName
        {
            get { return metric; }
        }
    }
}